<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="js/angular.min.js"></script>
</head>
<body>

    <input type="radio" name="radio_test" ng-model="radio_test" value="AA"/>AA
    <input type="radio" name="radio_test" ng-model="radio_test" value="BB"/>BB<br>
    radio选中的值为:<span>{{ radio_test }}</span>
</body>
<script type="text/javascript">
    angular.module('app', [], angular.noop)
        .controller('TestCtrl', function ($scope) {
            $scope.see = function () {
                console.log($scope.test_form);
                console.log($scope.test_form.a);//a为name的值
            };
            $scope.checkbox_value = 'AA';//controller中的初始化值会关系到控件状态（双向绑定）
            $scope.show = function () {
                console.log($scope.select_test);
            }
        });
    angular.bootstrap(document.documentElement, ['app']);
</script>
</html>